• Usage of the routine “GetParagraphIndex” You can get the paragraph x where byte offset b exists in the document a like this: set x to GetParagraphIndex(a, b) (The "a" parameter can be either index or name of the document.)